
/** 메뉴>메뉴관리 를 호출되어지는 데이터 처리 로직을 위한 Service Interface를 상속받는 Class                                
* @FileName  : MenuServiceImpl.java 0.1 2014년09월12일(14:05:50)       
* @Project     : nComz n-eip 프로젝트   
* @Date         : 2014년09월12일(14:05:50)          
* @작성자      : 신용천(nComz)           	  
* @변경이력 :                         
* @프로그램 설명 :메뉴>메뉴관리(ServiceImpl)    
* Copyright 2012 (주)nComz Cop. All rights Reserved.                  
*/ 

package com.sunny.hp.menu.service; 

import java.util.LinkedHashMap; 
import java.util.List; 
import org.springframework.beans.factory.annotation.Autowired; 
import org.springframework.stereotype.Service; 
import org.apache.commons.logging.Log; 
import org.apache.commons.logging.LogFactory; 
import com.sunny.hp.menu.dao.MenuDao;

/** 메뉴>메뉴관리 를 호출되어지는 데이터 처리 로직을 위한 Service Interface를 상속받는 Class                               
* @ClassName  : MenuServiceImpl       
* @Date         : 2014년09월12일(14:05:50)         
* @작성자      : 신용천(nComz)           	 
* @변경이력 :                        
* @프로그램 설명 :메뉴>메뉴관리(ServiceImpl)                     
*/      

@Service
public class MenuServiceImpl implements MenuService{

	@Autowired
	private MenuDao menuDao; 
	protected final Log logger = LogFactory.getLog(getClass());
	
	@Override
	public List<LinkedHashMap> selectMenuList(LinkedHashMap param) throws Exception{
	List<LinkedHashMap> returnList = menuDao.selectMenuList(param);
	return returnList;
	}
	@Override
	public List<LinkedHashMap> selectSubMenuList(LinkedHashMap param) throws Exception{
	List<LinkedHashMap> returnList = menuDao.selectSubMenuList(param);
	return returnList;
	}
	@Override
	public LinkedHashMap selectMenuInfo(LinkedHashMap param) throws Exception{
	LinkedHashMap returnMap = menuDao.selectMenuInfo(param);
	return returnMap;
	}
	@Override
	public int insertMenuInfo(LinkedHashMap param) throws Exception{
	int returnInt = menuDao.insertMenuInfo(param);
	return returnInt;
	}
	@Override
	public int selectNewMenuId(LinkedHashMap param) throws Exception{
	int returnInt = menuDao.selectNewMenuId(param);
	return returnInt;
	}
	@Override
	public int updateMenuInfo(LinkedHashMap param) throws Exception{
	int returnInt = menuDao.updateMenuInfo(param);
	return returnInt;
	}
	@Override
	public int deleteMenuInfo(LinkedHashMap param) throws Exception{
	int returnInt = menuDao.deleteMenuInfo(param);
	return returnInt;
	}

}
